<script type="text/x-javascript" src="chrome://Calendar/content/JsFiles/dal.js">
</script>


function vlm(){
var connection=new SQLite("test.sqplite");

connection.execute("CREATE TABLE IF NOT EXISTS tb_event (id INTEGER PRIMARY KEY AUTOINCREMENT,name STRING,type INTEGER)");

connection.execute("INSERT INTO tb_event (name,type) VALUES ('Margit szulinap',1)");

connection.execute("INSERT INTO tb_event (name,type) VALUES ('Margit Nevnap',3)");

var res=connection.execute("SELECT * FROM tb_event");

document.getElementById('text').label=res[0].name.toString();

connection.drop();




}
function ok(){
	
}